
//翻译
function App_tool_fy(){
	var form = jQuery("form").serialize();
	var content = jQuery("#content").val();
	App_tool_fy_g(content);
	/*
	jQuery.ajax({
		type: "POST",
		url: "/",
		data: "content="+content+"&t=auto",
		success: function(data){
			jQuery("#fy_content").html(decodeURI(data));
		}
	})
	*/
}
function App_tool_fy_g(content){
	jQuery.ajax({
		type: "POST",
		url: "/",
		data: "content="+content+"&hl=zh-CN&sl=en&tl=zh-CN&fy=google",
		success: function(data){
			var g = Acan.base.json_obj(data);
			jQuery("#fy_content_google").html(decodeURI(g[0][0][0]));
			jQuery("#fy_content_google_pinyin").html(decodeURI(g[0][0][2]));
		}
	})
}